home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / linuxcon.000 / linuxcon / linuxconf-1.6 / netconf / Makefile < prev    next >
Makefile  |  1996-08-02  |  1KB  |  53 lines

  1. CURDIR=netconf
  2. all: lib
  3. OBJS =  daemon.o daemon1.o daemons.o datetime.o devices.o \
  4.     devlist.o exports.o \
  5.     firewall.o groutes.o helpf.o host.o hosts.o html_access.o ifconfig.o \
  6.     internal.o ipalias.o ipfw.o ipfwrule.o ipx.o level.o \
  7.     net.o netconf.o networks.o nis.o ppp.o process.o \
  8.     rarp.o routed.o routes.o routes1.o start.o \
  9.     simple.o simul.o thishost.o thishost1.o _dict.o
  10.  
  11. include ../rules.mak
  12.  
  13. proto:
  14.     proto -m0+ \
  15.         -bnetconf.h+netconf.pm=netconf.h \
  16.         -binternal.h+netconf.pm \
  17.         -bdaemons.c+netconf.pm=daemons.c \
  18.         -bexports.c+netconf.pm \
  19.         -bfirewall.c+netconf.pm \
  20.         -bfirewall.h+netconf.pm \
  21.         -bppp.c+netconf.pm \
  22.         -brarp.c+netconf.pm \
  23.         -bhtml_access.c+netconf.pm \
  24.         *.c
  25.  
  26. # Test program
  27.  
  28. hosts: hosts.obt lib
  29.     gcc -g $(LDF) -o x $< $(LIBS)
  30.  
  31. ifconfig: ifconfig.obt lib
  32.     gcc -g $(LDF) -o x $< $(LIBS)
  33.  
  34. networks: networks.obt lib
  35.     gcc -g $(LDF) -o x $< $(LIBS)
  36.  
  37. thishost: thishost.obt lib
  38.     gcc -g $(LDF) -o x $< $(LIBS)
  39.  
  40. process: process.obt lib
  41.     gcc -g $(LDF) -o x $< $(LIBS)
  42.  
  43. net: net.obt lib
  44.     gcc -g $(LDF) -o x $< $(LIBS)
  45.  
  46. exports: exports.obt lib
  47.     gcc -g $(LDF) -o x $< $(LIBS)
  48.  
  49. simple: simple.obt lib
  50.     gcc -g $(LDF) -o x $< $(LIBS)
  51.  
  52.  
  53.